import { Route, Switch } from "react-router-dom";

import Home from "./views/Home";
import About from "./views/About";
import Contact from "./views/Contact";

export default function App() {
  return (
    <div>
      <h1>App</h1>

      <hr />

      <Switch>
        <Route path="/home" component={Home} />

        <Route path="/about" component={About} />

        <Route path="/contact" component={Contact} />
      </Switch>
    </div>
  );
}
